export default {
  name: "Name",
  tel: "Phone",
  save: "Save",
  confirm: "Confirm",
  cancel: "Cancel",
  delete: "Delete",
  loading: "Loading...",
  noCoupon: "No coupons",
  nameEmpty: "Please fill in the name",
  telInvalid: "Malformed phone number",
  vanCalendar: {
    end: "End",
    start: "Start",
    confirm: "确认选择",
    title: "日期选择",
    startEnd: "Start/End",
    weekdays: ["日", "一", "二", "三", "四", "五", "六"],
    monthTitle: (year: number, month: number) => `${year}/${month}`,
    rangePrompt: (maxRange: number) => `Choose no more than ${maxRange} days`,
  },
  vanCascader: {
    select: "Select",
  },
  vanPagination: {
    prev: "Previous",
    next: "Next",
  },
  vanPullRefresh: {
    pulling: "Pull to refresh...",
    loosing: "Loose to refresh...",
    loading: "Loading...",
  },
  vanSubmitBar: {
    label: "Total：",
  },
  vanCoupon: {
    unlimited: "Unlimited",
    discount: (discount: number) => `${discount * 10}% off`,
    condition: (condition: number) => `At least ${condition}`,
  },
  vanCouponCell: {
    title: "Coupon",
    count: (count: number) => `You have ${count} coupons`,
  },
  vanCouponList: {
    exchange: "Exchange",
    close: "Close",
    enable: "Available",
    disabled: "Unavailable",
    placeholder: "Coupon code",
  },
};
